import request from '@/utils/request'

export default{
  // 根据用户id和用户是否删除来 查询订单列表
  userOrderList(userId) {
    return request({
      url: '/api/order-info/userOrderList/' + userId,
      method: 'get'
    })
  },

  // 查询订单状态
  queryOrderStatus(orderNo) {
    return request({
      url: '/api/order-info/query-order-status/' + orderNo,
      method: 'get'
    })
  },

  //user删除订单
  userDeleteOrder(orderNo) {
    return request({
      url: '/api/order-info/userDeleteOrder/' + orderNo,
      method: 'get'
    })
  }
}
